package com.test.clyq.entity;

import java.util.List;

import com.test.entity.Item;
import com.test.json.JsonUtil;

public class DownloadFileIos implements Item {

	/** serialVersionUID */
	private static final long serialVersionUID = 1L;

	private String basicCreateTime;

	private Long catId;

	private String createTime;

	private String desc;

	private Long id;

	private String image;

	private Integer ipadOrder;

	private Integer location;

	private String name;

	private Integer type = 0;

	private List<PicturesIos> pictures;

	private String syImage;

	private String subTitle;

	private String convertUrl;

	public String getConvertUrl() {
		return convertUrl;
	}

	public void setConvertUrl(String convertUrl) {
		this.convertUrl = convertUrl;
	}

	public String getSubTitle() {
		return subTitle;
	}

	public void setSubTitle(String subTitle) {
		this.subTitle = subTitle;
	}

	public String getBasicCreateTime() {
		return basicCreateTime;
	}

	public Long getCatId() {
		return catId;
	}

	public String getCreateTime() {
		return createTime;
	}

	public String getDesc() {
		return desc;
	}

	@Override
	public Long getId() {
		return this.id;
	}

	public String getImage() {
		return image;
	}

	public Integer getIpadOrder() {
		return ipadOrder;
	}

	public Integer getLocation() {
		return location;
	}

	public String getName() {
		return name;
	}

	public List<PicturesIos> getPictures() {
		return pictures;
	}

	public String getSyImage() {
		return syImage;
	}

	public void setBasicCreateTime(String basicCreateTime) {
		this.basicCreateTime = basicCreateTime;
	}

	public void setCatId(Long catId) {
		this.catId = catId;
	}

	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}

	public void setDesc(String desc) {
		this.desc = desc;
	}

	@Override
	public void setId(Long id) {
		this.id = id;
	}

	public void setImage(String image) {
		this.image = image;
	}

	public void setIpadOrder(Integer ipadOrder) {
		this.ipadOrder = ipadOrder;
	}

	public void setLocation(Integer location) {
		this.location = location;
	}

	public void setName(String name) {
		this.name = name;
	}

	public void setPictures(List<PicturesIos> pictures) {
		this.pictures = pictures;
	}

	public void setSyImage(String syImage) {
		this.syImage = syImage;
	}

	@Override
	public String toJSON() {
		return JsonUtil.getJsonStringFromObject(this);
	}

	@Override
	public String toXML() {
		// TODO
		return null;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

}
